package cn.iocoder.an.module.business.controller.admin.equipmentcheckrecorddetail.vo;

import cn.iocoder.an.module.business.dal.dataobject.equipmentchecktype.EquipmentCheckTypeDO;
import cn.iocoder.an.module.business.dal.dataobject.equipmentmanage.EquipmentManageDO;
import cn.iocoder.an.module.business.dal.dataobject.equipmenttype.EquipmentTypeDO;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.VO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 点检记录明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class EquipmentCheckRecordDetailRespVO implements VO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "18049")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "点检记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26142")
    @ExcelProperty("点检记录id")
    private Long recordId;

    @Schema(description = "点检项id", example = "32744")
    @ExcelProperty("点检项id")
    @Trans(type = TransType.SIMPLE, target = EquipmentCheckTypeDO.class,   fields = {"name", "description"},refs = {"checkItemName", "checkItemRemark"})
    private Long checkItemId;

    private String checkItemName;

    private String checkItemRemark;

    @Schema(description = "附件")
    @ExcelProperty("附件")
    private List<String> files;

    @Schema(description = "附件名称", example = "赵六")
    @ExcelProperty("附件名称")
    private String fileName;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}